package demo2;

import demo1.A;

public class B extends A {
    final static int a = 1;

    public static void main(String[] args) {


    }
    public void fun(){
        System.out.println(super.c);
        System.out.println(super.c);
    }
}

class C{
    public void fun(){
        A a = new A();
        System.out.println(a.d);
    }
}